﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ItemChild.aspx.cs" Inherits="ItemChild" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
   
  <style type="text/css">
    .floating { float:left;}
.floating img 
{
     display: block;
     margin-top:10px;     
      height:120px;
      width:248px;
      margin-right:10px;
}
.pageHeader
{
    font-family:Segoe UI Light;
    font-size:42pt;
    }
    .pageSubHeader
    {
        font-family:Segoe UI Light;
        font-size:20pt;
      
        }
        a
        {
           text-decoration:none;
           color:Black;
            }

  </style>
   
</head>
<body>
    <form id="form1" runat="server">
  
  <div class="pageHeader" style="margin-left:50px; margin-top:20px;">
<asp:LinkButton ID="backButton" runat="server" onclick="backButton_Click">
<img src="Resources/back.png" style="height:42px; " />
</asp:LinkButton>
<asp:Label ID="lblGroupName" runat="server"></asp:Label></div>
  <div style="overflow-x:scroll ; overflow-y: hidden; padding-bottom:10px;">
    
    <div style="width:500%; height:500px">
     <div style="margin-top:14px; margin-left:50px;margin-right:50px;">
    <asp:DataList ID="DataList2" runat="server" RepeatDirection="Horizontal"
             onitemcommand="DataList2_ItemCommand" 
             onitemdatabound="DataList2_ItemDataBound">
    <ItemTemplate>
    <div class="pageSubHeader"><asp:LinkButton ID="TopNews" runat="server" CommandName="GroupDetail" CommandArgument='<%#Eval("ItemID") %>' Text='<%#Eval("ItemTitle")%>'></asp:LinkButton></div>   
   <asp:Repeater ID="TopNews1" runat="server">   
 <ItemTemplate>
 <div class="floating">
    
 <asp:LinkButton ID="lnkThumbDetail" OnClick="linkButton_Item" runat="server"  CommandName="thumbDetail" CommandArgument='<%#Eval("SubItemID") %>'> <img src='<%#Eval("SubItemThumbPath") %>' alt=''/></asp:LinkButton> </div>   
   </ItemTemplate>
   </asp:Repeater>  
         </ItemTemplate>
        </asp:DataList>
        </div>
    </div>
 </div>
 

    </form>
</body>
</html>